package com.zisuyi.game.sdk.net.bean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

public class RedeemHistoryBean {

    /**
     * created_at : string
     * email : string
     * gift : {"amount":0,"conditions":[{"id":0,"key":"string","message":"string","value":"string"}],"currency":"string","diamond":0,"id":0,"symbol":"string","type":"string"}
     * id : 0
     * phone : string
     * status_code : 0
     */

    @SerializedName("created_at")
    private String createdAt;
    @SerializedName("email")
    private String email;
    @SerializedName("gift")
    private GiftDTO gift;
    @SerializedName("id")
    private Integer id;
    @SerializedName("phone")
    private String phone;
    @SerializedName("status_code")
    private Integer statusCode;

    public String getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(String createdAt) {
        this.createdAt = createdAt;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public GiftDTO getGift() {
        return gift;
    }

    public void setGift(GiftDTO gift) {
        this.gift = gift;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(Integer statusCode) {
        this.statusCode = statusCode;
    }

    public static class GiftDTO {
        /**
         * amount : 0
         * conditions : [{"id":0,"key":"string","message":"string","value":"string"}]
         * currency : string
         * diamond : 0
         * id : 0
         * symbol : string
         * type : string
         */

        @SerializedName("amount")
        private Integer amount;
        @SerializedName("currency")
        private String currency;
        @SerializedName("diamond")
        private Integer diamond;
        @SerializedName("id")
        private Integer id;
        @SerializedName("symbol")
        private String symbol;
        @SerializedName("type")
        private String type;
        @SerializedName("conditions")
        private List<UserInfoBean.RedeemDTO.ConditionsDTO> conditions;

        public Integer getAmount() {
            return amount;
        }

        public void setAmount(Integer amount) {
            this.amount = amount;
        }

        public String getCurrency() {
            return currency;
        }

        public void setCurrency(String currency) {
            this.currency = currency;
        }

        public Integer getDiamond() {
            return diamond;
        }

        public void setDiamond(Integer diamond) {
            this.diamond = diamond;
        }

        public Integer getId() {
            return id;
        }

        public void setId(Integer id) {
            this.id = id;
        }

        public String getSymbol() {
            return symbol;
        }

        public void setSymbol(String symbol) {
            this.symbol = symbol;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public List<UserInfoBean.RedeemDTO.ConditionsDTO> getConditions() {
            return conditions;
        }

        public void setConditions(List<UserInfoBean.RedeemDTO.ConditionsDTO> conditions) {
            this.conditions = conditions;
        }
    }
}
